home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: Essential Home & Business
/
PC-SIG - Essential Home and Business Collection.iso
/
26
/
4
/
6
/
MERCURYZ.EXE
/
GCD.EKA
< prev
next >
Wrap
Text File
|
1991-07-01
|
283b
|
14 lines
; Demo of external functions.
; GCD computes the greatest common divisor of two numbers.
EXTERNAL GCD
; ASINH is the inverse hyperbolic sine.
EXTERNAL ASINH
; correct answer is 7
a = GCD(156562431911123, 442677773754356)
; should get c = PI
b = SINH(PI)
c = ASINH(b)